package org.lds.hotkey.common.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页实体
 *
 * @author lidongsheng 2022/1/13 15:15
 * @version V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<E> implements Serializable {
    private static final long serialVersionUID = 1L;

    private long totalItemNum;
    private long totalPageNum;
    private long currentPageNum;
    private long pageSize;
    private List<E> data;
}
